package org.flashbrighton.as3bots.controllers
{
	import flash.media.Sound;
	import flash.net.URLRequest;

	public class SoundController
	{
		public function SoundController()
		{
		}
		
		private var wallCollisionSound:Sound = new Sound(new URLRequest("assets/sounds/hitWall.mp3")); 
		private var botCollisionSound:Sound = new Sound(new URLRequest("assets/sounds/hitBot.mp3")); 
		private var hitBombSound:Sound = new Sound(new URLRequest("assets/sounds/hitBomb.mp3")); 
		private var collectGemSound:Sound = new Sound(new URLRequest("assets/sounds/collectGem.mp3")); 
		private var deadBotSound:Sound = new Sound(new URLRequest("assets/sounds/deadBot.mp3")); 
		private var shrinkArenaSound:Sound = new Sound(new URLRequest("assets/sounds/shrink.mp3")); 
		private var winnerSound:Sound = new Sound(new URLRequest("assets/sounds/win.mp3")); 

		public function playWinner():void{
			winnerSound.play();
		}

		public function playHitBomb():void{
			hitBombSound.play();
		}
		
		public function playWallCollision():void{
			wallCollisionSound.play();
		}

		public function playBotCollision():void{
			botCollisionSound.play();
		}

		public function playDeadBot():void{
			deadBotSound.play();
		}
		
		public function playCollectGem():void{
			collectGemSound.play();
		}
		
		public function playShrinkArena():void{
			shrinkArenaSound.play();
		}
		
	}
}